concat and search in laravel eloquent

51

concat function using laravel update query -

concat() function using laravel update query

$driver_update = Driver::where('id',$id)->update(['service_ids' => DB::raw('concat(service_ids,",","'.$service_id.'")')]);

Comments

Submit
0 Comments